R passing a function argument to ggplot

join shbcf.ru